namecode_map = {
    "chiname": "基金全称",
    "securitycode": "基金代码",
}

overview_map = {
    "chiname": "基金全称",
    "chinameabbr": "基金简称",
    "securitycode": "基金代码",
    "fundtype": "基金类型",
    "establishmentdate": "基金成立时间",
    "manager": "基金经理",
    "riskreturncharacter": "风险收益特征",
    "trusteename": "基金托管人",
    "performancebenchmark": "业绩比较基准",
}

investtarget_map = {
    "chiname": "基金名称",
    "securitycode": "基金代码",
    "investtarget": "投资目标",
}

investfield_map = {
    "chiname": "基金名称",
    "securitycode": "基金代码",
    "investfield": "投资对象",
}

investorientation_map = {
    "chiname": "基金名称",
    "securitycode": "基金代码",
    "investorientation": "主要投资策略",
}

jz_map = {
    "d_date_jzrq": "最新净值日期",
    "f_netvalue": "最新单位净值",
    "f_totalvalue": "累计净值",
    "f_onedayrate": "日涨跌",
    "f_yearrate": "近1年",
    "f_2yearrate": "近2年",
    "f_3yearrate": "近3年",
    "f_5yearrate": "近5年",
    "f_thisyearrate": "今年来",
    "f_incomeunit": "万份收益",
    "f_incomeratio": "七日万份收益率(七日年化)",
}

gm_map = {"report_date": "报告日期", "net_assets_value": "基金规模(元)"}

manager_map = {"chinesename": "姓名", "background": "背景介绍"}

tenstocks_map = {
    "stockchiname": "股票名称",
    "stockchinameabbr": "股票简称",
    "stocksecucode": "股票代码",
    "sharesholding": "持股数量(股)",
    "changeofsharesholding": "较上期持仓量变动(股)",
    "marketvalue": "市值(元)",
    "ratioinnv": "占资产净值比例",
    "reportdate": "报告期",
}

fivebonds_map = {
    "bondchiname": "债券名称",
    "bondsecucode": "债券代码",
    "holdvolume": "持有数量(份)",
    "marketvalue": "持有市值(元)",
    "ratioinnv": "市值占净资产的比例",
    "reportdate": "报告期",
}

allstocks_map = {
    "stockchiname": "股票名称",
    "stockchinameabbr": "股票简称",
    "stocksecucode": "股票代码",
    "sharesholding": "持股数量(股)",
    "changeofsharesholding": "较上期持仓量变动(股)",
    "marketvalue": "市值(元)",
    "ratioinnv": "占资产净值比例",
    "reportdate": "报告期",
}

allbonds_map = {
    "bondchiname": "债券名称",
    "bondsecucode": "债券代码",
    "holdvolume": "持有数量(份)",
    "marketvalue": "持有市值(元)",
    "ratioinnv": "市值占净资产的比例",
    "reportdate": "报告期",
}

stockschange_map = {
    "changetype": "变动方向",
    "stockchiname": "股票名称",
    "stockchinameabbr": "股票简称",
    "stocksecucode": "股票代码",
    "accumulatedtradesum": "累计金额(元)",
    "ratioinnvatbegin": "占期初基金净值比例",
    "reportdate": "报告期",
}

view_map = {"view": "内容", "view_year": "报告期年份", "view_quarter": "报告期季度"}

performance_map = {
    "statisticrange": "阶段",
    "growthrateofnetvalue": "净值增长率(1)",
    "standarddeviationofgronv": "净值增长率标准差(2)",
    "growthrateofbenchmark": "业绩比较基准增长率(3)",
    "standarddeviationofgrob": "业绩比较基准增长率标准差(4)",
    "excessreturnrate": "(1)-(3)",
    "excessvolatility": "(2)-(4)",
    "enddate": "报告截至日期",
}

scalerank_map = {
    "chiname": "公司名称",
    "enddate": "报告期日期",
    "totalfundnv": "总管理规模(亿元)",
    "fundnvrank": "总管理规模排名",
    "totalfundn": "旗下基金只数(只)",
    "equityfundnv": "股票型管理规模(亿元)",
    "equitynvrank": "股票型基金管理规模排名",
    "equityfundn": "股票型基金数量(只)",
    "hybridfundnv": "混合型管理规模(亿元)",
    "hybridnvrank": "混合型基金管理规模排名",
    "hybridfundn": "混合型基金数量(只)",
    "bondfundnv": "债券型管理规模(亿元)",
    "bondnvrank": "债券型基金管理规模排名",
    "bondfundn": "债券型基金数量(只)",
    "monetaryfundnv": "货币型管理规模(亿元)",
    "monetarynvrank": "货币型基金管理规模排名",
    "monetaryfundn": "货币型基金数量(只)",
    "shortbondfundnv": "理财型管理规模(亿元)",
    "shortbondnvrank": "理财型基金管理规模排名",
    "shortbondfundn": "理财型基金数量(只)",
    "qdiinv": "QDII管理规模(亿元)",
    "qdiinvrank": "QDII基金管理规模排名",
    "qdiifundn": "QDII基金数量(只)",
    "unmsbfnv": "非货基与理财债基管理规模(亿元)",
    "unmsbfnvrank": "非货基与理财债基管理规模排名",
    "unmsbfn": "非货基与理财债基数量(只)",
    "fofnv": "FOF管理规模(亿元)",
    "fofnvrank": "FOF基金管理规模排名",
    "fofn": "FOF基金数量(只)",
    "reitsnv": "REITS管理规模(亿元)",
    "reitsrank": "REITS基金管理规模排名",
    "reitsn": "REITS基金数量(只)",
    "commodityfundnv": "商品管理规模(亿元)",
    "commodityfundnvrank": "商品基金管理规模排名",
    "commodityfundn": "商品基金数量(只)",
    "indexfundnv": "指数型管理规模(亿元)",
    "indexnvrank": "指数型基金管理规模排名",
    "indexfundn": "指数型基金只数(只)",
    "unmonetaryfundnv": "非货币型基金管理规模(亿元)",
    "unmonetaryfundn": "非货币型基金数量(只)",
}



#---需要传入给模型---#
special_map = {
    "净值表现统计区间(StatisticRange)": "数值含义：1-一个月，2-两个月，3-季度，5-一季度(累计)，6-半年，11-三季度(累计)，12-年度，24-两年，36-三年，60-五年，99-成立至今，990-期内，993-截止时点，995-周，996-日，999-期末"
}
